<?php
$this->breadcrumbs=array(
	Yii::t('Ccu', 'Categories'),
);

$this->menu=array(
	array('label'=>Yii::t('Ccu','Create Category'), 'url'=>array('create')),
	array('label'=>Yii::t('Ccu','Manage Category'), 'url'=>array('admin')),
);
?>

<h1>Categories</h1>

<?php //$this->widget('zii.widgets.CListView', array(
//	'dataProvider'=>$dataProvider,
//	'itemView'=>'_view',
//)); ?>

<?php
$this->widget('CTreeView',array(
        'data'=>$dataProvider,
        'prerendered' => 'true',
        'animated'=>'fast', //quick animation
        'collapsed'=>'false',//remember must giving quote for boolean value in here
        'htmlOptions'=>array(
                'class'=>'treeview-red',//there are some classes that ready to use
        ),
));
?>
